package com.chis.shardingjdbc.dto;

import com.chis.shardingjdbc.beans.TdJxcStmtzx;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 
 * @Description 
 * @Company zwx
 * @author wlj
 * @version 2018年03月05日
 */
public interface ShardDTO {

    public void insertJxcStmtzx(List<TdJxcStmtzx> list) throws Exception;

    public void updateStmtzx(@Param("subId") String subId, @Param("hpndate") Date hpndate) throws Exception;

    public List<TdJxcStmtzx> findTz( @Param("hpndate") Date hpndate) throws Exception;

    public List<Map<Object,Object>> findTz2( @Param("hpndate1") Date hpndate1,@Param("hpndate2") Date hpndate2) throws Exception;

    public List<Map<Object,Object>> test(@Param("date1") Date date1, @Param("date2") Date date2) throws Exception;

    public List<Map<Object,Object>> findTz3( @Param("hpndate1") Date hpndate1,@Param("hpndate2") Date hpndate2) throws Exception;

}
